package ltd.newbee.mall.dao;

import ltd.newbee.mall.entity.Evaluation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluationMapper {
    void save(Evaluation evaluation);

    List<Evaluation> selectByProductId(@Param("id") Long id) ;

    Long selectCount(@Param("id") Long id);
}
